import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
    mode: 'history', // 使用 HTML5 History 模式
    routes: [
      {
        path: '/',
        name: 'index',
        component: ()=>import('../views/knowledge_graph/index.vue')
      },
      {
        path:'/ExaminationQuestions',
        name:'ExaminationQuestions',
        component:()=>import('../views/knowledge_graph/components/ExaminationQuestions/index.vue')
      },
      {
        path:'/login',
        name:'login',
        component:()=>import('../views/login/login.vue')
      },
      {
        path:'/register',
        name:'register',
        component:()=>import('../views/login/register.vue')
      }
    ]
  });